package com.medicalproject.service.impl;

import com.medical.pojo.type;
import com.medicalproject.mapper.TypeMaper;
import com.medicalproject.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    TypeMaper typeMaper;
    @Override
    public List<type> findAll() {
        return typeMaper.findAll();
    }
}
